﻿using System;
using System.Windows;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using FinosLibrary;
using System.Text;
using System.ComponentModel;
using System.IO;
using System.Linq;
namespace FinosAdmin {
    public class NetConnection : FinosLibrary.NetConnection {
        public void Connect(string host) {
            base.Connect(new IPEndPoint(Dns.GetHostAddresses(host).Single(address => address.AddressFamily == AddressFamily.InterNetwork), 4501), "");
        }
        private static NetConnection instance;
        public static NetConnection getInstance() {
            if (instance == null) {
                instance = new NetConnection();
            }
            return instance;
        }
    }
}
